<!DOCTYPE html>
<html>
<head>
<title>detail.html</title>
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="this is my page">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
<style type="text/css">
	img{
		width:200px;
		height:200px;
		border:1px solid black;
	}
	.sickImg{
		float:left;
		margin-left:10px;
	}
	.clear{
		clear:both;
	}
</style>
</head>
<body>
	<h1>病人详情</h1> 
	欢迎您：${user.realname} <a href="${base}/logout">退出</a>
	<br><br>
	[#if sick??]
	姓名：${sick.name}<br>
	性别：${sick.sex}<br>
	年龄：${sick.age}<br>
	<form action="${base}/sick/sortPic" method="post">
		[#list sick.list as pic]
		<div class="sickImg">
			<img src="${base}/resources/front/image/${pic.url}" />
			<input type="checkbox" name="img" value="${pic.id}"/>
		</div>
		[/#list]
		<div class="clear"></div>
		图片排版：
		<input type="radio" name="sort" value="2*2" checked>2*2
		<input type="radio" name="sort" value="3*3">3*3
		<br>
		<input type="submit" value="打印" />
	</form>
	[#else]
		查无此人
	[/#if]
</body>
</html>
